//所有协议基类
class Protocol{
    constructor(options){
        this.port=6001;
        !!options&&Object.assign(this,options);
        this.listen();
        console.log(`监听端口：${this.port}`);
    }
    send(){

    }
    listen(){

    }
}

module.exports=Protocol;